<template>
	<div class="edit box">
		<div>
			<p>
				&#12288;&#12288;&#12288;系统名称
				<el-input v-model="detailData.sysName" :disabled="true" size="normal"></el-input>
			</p>
			<p>
				&#12288;&#12288;&#12288;业务名称
				<el-input v-model="detailData.businessName" :disabled="true" size="normal"></el-input>
			</p>
			<p>
				&#12288;&#12288;&#12288;&#12288;操作人
				<el-input v-model="detailData.user" :disabled="true" size="normal"></el-input>
			</p>
			<p>
				&#12288;&#12288;&#12288;操作类型
				<el-input v-model="detailData.operateType" :disabled="true" size="normal"></el-input>
			</p>
			<p>
				&#12288;&#12288;&#12288;操作时间
				<el-input v-model="detailData.operateTime" :disabled="true" size="normal"></el-input>
			</p>
			<p>
				&#12288;&#12288;&#12288;操作文件
				<el-input
						size="normal"
						:disabled="true"
						type="textarea"
						:autosize="{ minRows: 2, maxRows: 4}"
						placeholder="请输入内容"
						v-model="detailData.fileNames"
						resize="none">
				</el-input>
			</p>
			<p>
				<el-button type="primary" round size="normal" @click="()=>{$router.push('/contentManage/fileRecord')}">返回</el-button>
			</p>
		</div>
	
	</div>
</template>

<script>
export default {
	name: "businessView",
	components:{},
	data(){
		return{
			name:'',
			transmissionName:'',
			sysName:'',
			createDate:'',
			createBy:'',
			updateDate:'',
			updateBy:'',
			status:'',
			remarks:'',
			detailData:{},
		}
	},
	created(){
		this.id=this.$route.params.id
		this.getFile();
	},
	methods:{
		getFile(){
			this.$Http.fileDetail({
				id:this.$route.query.id
			}).then((res)=> {
				if (res.code === "SUCCESS") {
					console.log(res);
					this.detailData = res.data;
				}
				else {
					this.$message.error("操作错误，请重新操作")
				}
			})
		}
	}
}
</script>

<style scoped lang="scss">
@import "src/assets/css/content.scss";

</style>
